@echo off
if %1 == 1 (
    echo "start backupt %2>%3."
    call D:\\ProgramFiles\mysql-5.7.34-winx64\bin\mysqldump --host=127.0.0.1 --port=3306  -uroot  -p123456  %2>%3
    echo "finish backup."
) else if %1 == 2 (
    echo "start import %2<%3."
    call D:\\ProgramFiles\mysql-5.7.34-winx64\bin\mysql --host=127.0.0.1 --port=3306  -uroot  -p123456  %2<%3
    echo "finish import."
)